package com.tonysong.ssm.controller;

import com.tonysong.ssm.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 宋伟宁
 * @Date 2023/9/19
 * @Version 1.0
 **/
@RestController
public class JsonController {

    @Autowired
    private UserService userService;

    @GetMapping("/delete")
    public boolean del(String ids){
        return this.userService.batch_delete(ids);
    }
}
